#include <iostream>


class Base
{

public:
    int a;
};
class DerivedA:virtual public Base
{
public:
    int b;
};

class DerivedB:virtual public Base
{
public:
    int c;
};

class DerivedFinal:public DerivedA,public DerivedB
{
public:
    int d;
};



int main()
{
    DerivedFinal f;
    f.a = 10;
    return 0;
}